import request from "./request";

class SmartCity {
  static getBuildings() {
    return request({
      url: "/Wuhan_Buildings",
      method: "GET",
    });
  }
  static getRoads() {
    return request({
      url: "/Wuhan_roads",
      method: "GET",
    });
  }
  static getEvents() {
    return request({
      url: "/Wuhan_events",
      method: "GET",
    });
  }
  static getBridges() {
    return request({
      url: "/Wuhan_bridge",
      method: "GET",
    });
  }
  static getFlyPath() {
    return request({
      url: "/fly_path",
      method: "GET",
    });
  }
  static getFlyEnd() {
    return request({
      url: "/fly_end",
      method: "GET",
    });
  }
  static getChinaWind() {
    return request({
      url: "/china_wind",
      method: "GET",
    });
  }
  static getGlobeWind() {
    return request({
      url: "/globe_wind",
      method: "GET",
    });
  }
}

export default SmartCity;
